
from fastapi import FastAPI
import requests

app = FastAPI()

@app.get("/")
def read_root():
    return {"message": "AI 会议助手 API 运行中"}

@app.post("/ai/")
def ai_assistant(prompt: str):
    response = requests.post("https://api.deepseek.com/v1/chat/completions", json={"prompt": prompt})
    return response.json()
